package cn.yuhe;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
@MapperScan("cn.yuhe.*.mapper")
// 扫描监听器，让监听器起作用
@ServletComponentScan(value = "cn.yuhe.basic.listener")
public class PetHomeApp {
    public static void main(String  [] args) {
        SpringApplication.run(PetHomeApp.class);
    }
}
